package com.xdf.xzymanagementsystem.dao;

import org.springframework.stereotype.Repository;
import java.util.ArrayList;
import java.util.List;
import com.xdf.xzymanagementsystem.entity.JcContactcompany;
import org.apache.ibatis.annotations.Param;
import com.xdf.xzymanagementsystem.util.Example;
/**
* @Description : 往来单位
* @Author : 张柯
* @Date : 2020-12-31 14:42:38
*/
@Repository
public interface JcContactcompanyMapper{
    int insert(JcContactcompany record);

    int insertSelective(JcContactcompany record);

    int multiInsert(List<JcContactcompany> list);

    int insertDumplicateKeyUpdate(JcContactcompany record);

    int updateByPrimaryKey(JcContactcompany record);

    int updateByPrimaryKeySelective(JcContactcompany record);

    int multiUpdate(List<JcContactcompany> list);

    int deleteByPrimaryKey(Integer id);

    JcContactcompany selectByPrimaryKey(Integer id);

    List<JcContactcompany> selectAll();

    List<JcContactcompany> selectByParam(JcContactcompany record);

    int updateByExampleSelective(@Param("record") JcContactcompany record,@Param("example") Example example);

    int deleteByExample(@Param("example") Example example);

    List<JcContactcompany> selectByExample(@Param("example") Example example);

    int insertByExampleSelective(@Param("record") JcContactcompany record,@Param("example") Example example);

    long countByExample(@Param("example") Example example);

    JcContactcompany selectByCode(String code);

    int moveClientSeq(@Param("id") int id,@Param("direction") int direction);
}